package scau.jump.securitytrace;


public class RFIDManagerFactory {

	private static Manager rfidManagerImpl; 
	
	public static synchronized Manager getInstance() {
		
		if(rfidManagerImpl == null){
			RFIDMonitor monitor = new RFIDMonitor();
			ReaderObserver observer = new ReaderObserver();
			monitor.addObserver(observer);
			rfidManagerImpl  = new RFIDManagerImpl(monitor);
		}
		return rfidManagerImpl;
	}

}
